package com.meiyou.service;

import com.meiyou.pojo.MeiyouUser;
import com.meiyou.utils.Msg;

public interface TecentService {
	
    public boolean registTencent(MeiyouUser user); //注册腾讯通信云账号
    
    
    public boolean userSendMsg(String fromUser,String toUser,String context,Integer SyncOtherMachine);//用户给用户发送单聊文本消息。
    
    
    public boolean userSendBiaoQingMsg(String fromUser,String toUser,int index,Integer SyncOtherMachine);//用户给用户发送表情消息
    
    public boolean userSendWeiZhiMsg(String fromUser,String toUser,String desc,double latitude,double longitude,Integer syncOtherMachine);//用户给用户发送位置消息
    
    public boolean addFriend(String fromaccount,String toaccount);//添加好友
    
    public boolean deleteFriend(String fromaccount,String toaccount);//单个删除好友
    
    public boolean addBlackList(String fromAcount,String toAcount);
    
    public Msg sendHongbao(String fromcount,String tocount,Double meijin);//发送红包
    
    public Msg setUserInfo(MeiyouUser user);
    
}
